package a.f.h.d;

import a.c.x;
import a.c.z;
import a.f.h.b.l;
import a.f.h.c.e;
import a.f.h.c.g;
import a.i.mb;

public class o
  implements ab, l
{
  public static final Object t = "y.layout.orthogonal.kandinsky.KanCompactor.BORDER_DPKEY";
  protected a.f.h.b.f u;
  protected a.f.o v;
  private a.f.h.c.c w = new i();
  private short x = 0;
  protected short y = 0;
  protected int z = 3;
  protected int A = 50;
  private boolean B = false;
  private a.f.h.b.i C;
  private boolean D = false;
  public static int E;
  
  public void a(a.f.h.b.f paramf)
  {
    this.v = ((a.f.o)paramf.a());
    this.u = paramf;
  }
  
  public boolean b()
  {
    return this.D;
  }
  
  public void a(boolean paramBoolean)
  {
    this.D = paramBoolean;
  }
  
  public void a(int paramInt)
  {
    this.A = paramInt;
  }
  
  public void a(a.f.h.b.i parami)
  {
    this.C = parami;
  }
  
  public short c()
  {
    return this.x;
  }
  
  public void a(short paramShort)
  {
    this.x = paramShort;
  }
  
  public void b(short paramShort)
  {
    this.y = paramShort;
  }
  
  public void b(int paramInt)
  {
    this.z = paramInt;
  }
  
  public int d()
  {
    return this.z;
  }
  
  public void b(boolean paramBoolean)
  {
    this.B = paramBoolean;
  }
  
  public void a(a.f.h.c.c paramc)
  {
    this.w = paramc;
  }
  
  public void a()
  {
    a.i.n.a(this, 1, "------->>> Entering Compaction Phase");
    mb localmb = new mb();
    a.i.n.a(this, 2, "-----> Introduce dummy nodes for labels");
    a.i.n.a(this, 2, "-----> Split nodes");
    s locals = new s(this.u, this.x, this.A);
    s.a(this.B);
    locals.b(b());
    locals.d();
    this.C.h = ((int)localmb.d());
    localmb.g();
    a.i.n.a(this, 2, "-----> Do compaction");
    a.f.h.c.n localn = new a.f.h.c.n();
    localn.a(e());
    localn.a(locals.b());
    x localx = locals.b().a().B();
    z localz = locals.c();
    if (j.r == 0)
    {
      if ((this.w instanceof i)) {
        ((i)this.w).a(localz);
      }
      localn.a(this.w);
      localn.a(this.z);
      localn.a(localx);
      this.C.i = ((int)localmb.d());
      localmb.g();
      locals.a(localx, this.v);
      locals.b().a().a(localx);
      this.C.o = ((int)localmb.d());
      this.C.r = locals.n();
      this.C.t = locals.m();
      this.C.s = locals.l();
      this.C.j = localn.c();
      this.C.k = localn.d();
      this.C.l = localn.e();
      this.C.m = localn.f();
      a.i.n.a(this, 3, "-> Total running time of compaction Phase: " + localmb);
    }
    a.i.n.a(this, 1, "<<<------- Leaving Compaction Phase");
  }
  
  protected g e()
  {
    switch (this.y)
    {
    case 0: 
      return new a.f.h.c.f();
    case 1: 
      return new e();
    case 2: 
      return new a.f.h.c.i();
    }
    a.i.n.a("Unknown Compactor !");
    return null;
  }
}



/* Location:           E:\idea\

 * Qualified Name:     a.f.h.d.o

 * JD-Core Version:    0.7.0.1

 */